//
//  StoreHotelInfoView.h
//  BaseProject
//
//  Created by 王洋 on 2020/7/20.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "StoreHotelDetailModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, StoreHotelInfoActionType) {
    //无忧选
    StoreHotelInfoActionType_wuyouxuan,
    //更多信息
    StoreHotelInfoActionType_moreInfo,
    //地图
    StoreHotelInfoActionType_mapNavi,
    //酒店相册
    StoreHotelInfoActionType_hotelAlbum,
    //详询
    StoreHotelInfoActionType_im,

};

@interface StoreHotelInfoView : UIView

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *infoHeight;

@property (weak, nonatomic) IBOutlet UILabel *hotelNameLab;

@property (weak, nonatomic) IBOutlet UILabel *hotelPriceLab;

@property (weak, nonatomic) IBOutlet UILabel *hotelAddressLab;

@property (weak, nonatomic) IBOutlet UIView *starBGView;



@property (weak, nonatomic) IBOutlet UIView *promiseBGView;



@property (weak, nonatomic) IBOutlet UIImageView *wuyouxuanControl;
@property (weak, nonatomic) IBOutlet UIView *wuyouxyanLabBG;


@property (weak, nonatomic) IBOutlet NSLayoutConstraint *wyxHeight;


@property (weak, nonatomic) IBOutlet UIImageView *wyxIcon1;
@property (weak, nonatomic) IBOutlet UILabel *wyxLab1;


@property (weak, nonatomic) IBOutlet UIImageView *wyxIcon2;
@property (weak, nonatomic) IBOutlet UILabel *wyxLab2;


@property (weak, nonatomic) IBOutlet UIImageView *wyxIcon3;
@property (weak, nonatomic) IBOutlet UILabel *wyxLab3;

@property (weak, nonatomic) IBOutlet UIImageView *wyxIcon4;
@property (weak, nonatomic) IBOutlet UILabel *wyxLab4;



@property (weak, nonatomic) IBOutlet UILabel *hotelIntroduceLab;

@property (weak, nonatomic) IBOutlet UIView *mapControl;

@property (nonatomic, copy) void(^StoreHotelInfoViewBlock)(StoreHotelInfoActionType type);

- (void)fillHeadWithModel:(StoreHotelDetailModel *)model;

+ (CGFloat)calculateHeightWithModel:(StoreHotelDetailModel *)model;

@end

NS_ASSUME_NONNULL_END
